#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "unistd.h"
#include "errno.h"

int main() {
    int i1 = 100;
    char c[10]={0};
    int i2 = 1235526;
    char c1[] = "AWS is a cloud platform";
    char c2[20] = {0};
    char c3[20] = {0};
    char* c5;

    c5 = c1;
    printf("%s\n", c5);
    strcpy(c1, "www world");
    printf("%s\n", c5);


    // //char c2[]="";
    // strncpy(c2,c1,12);
    // printf("strncpy %s \n", c2);

    // strcpy(c3,c1);
    // printf("strcpy %s\n", c3);

    // char str[100];
    // sprintf(str, "%.7lf \n", 3.1415926);
    // printf("1st float: %s",str);

    // sprintf(str, "%.7lf \n", 9.1112222);
    // printf("2nd float: %s",str);

    // char * buf;
    // size_t allocSize = sizeof(char) * 1024;
    // buf = (char *)malloc(allocSize);
    // char * cwd;
    // if ((cwd = getcwd(buf, allocSize)) != NULL)
    //     printf("pwd: %s\n", cwd);
    // else
    //     perror("getcwd() error: ");

    //char *paramValues[2];
    //unsigned char *c1 = (unsigned char) i1;
    //unsigned char *c2 = (unsigned char) i2;
    //itoa(i1, c, 10);
    //printf("Origin Value: %s\n",c);
    //itoa(i2, c, 10);
    //printf("New Value: %s\n",c);
    //paramValues[0] = c1;
    //printf("paramValues[0] %s\n",paramValues[0]);
    //c[] = "";
    //memset(c,'\0',sizeof(c));
    //c[0] = '\0';
    
    //itoa(i2, c2, 10);
    // paramValues[1] = c2;
    //printf("paramValues[1]: %d\n",i2);
    return 0;
}